<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简易电商平台</title>
    <style>
        body { 
            margin: 0; 
            font-family: Arial, sans-serif; 
            line-height: 1.6;
        }
        .header { 
            background: #f8f8f8; 
            padding: 15px 20px; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .logo { 
            font-size: 22px; 
            font-weight: bold; 
            color: #333;
        }
        .nav a { 
            margin-left: 20px; 
            text-decoration: none; 
            color: #333; 
            font-size: 14px;
        }
        .nav a:hover {
            color: #ff6700;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .product-list { 
            margin-top: 30px;
        }
        .product-list h2 {
            color: #333;
            border-bottom: 2px solid #eee;
            padding-bottom: 10px;
        }
        .products {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }
        .product { 
            border: 1px solid #eee; 
            border-radius: 8px;
            padding: 15px; 
            transition: transform 0.3s, box-shadow 0.3s;
            background: #fff;
        }
        .product:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .product-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 4px;
            margin-bottom: 10px;
        }
        .product h3 {
            margin: 10px 0 5px;
            font-size: 16px;
            color: #333;
        }
        .product-desc {
            color: #666;
            font-size: 14px;
            margin-bottom: 10px;
        }
        .product-price {
            color: #ff6700;
            font-weight: bold;
            font-size: 18px;
        }
        .footer { 
            text-align: center; 
            padding: 20px; 
            background: #f8f8f8; 
            margin-top: 40px;
            color: #666;
            font-size: 14px;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="logo">简易商城</div>
        <div class="nav">
            <a href="index.html">首页</a>
            <a href="#">商品分类</a>
            <a href="#">购物车</a>
            <a href="login.html">登录</a>
            <a href="register.html">注册</a>
        </div>
    </div>

    <div class="container">
        <div class="product-list">
            <h2>热门商品</h2>
            <div class="products">
                <div class="product">
                    <img src="https://picsum.photos/id/26/400/300" alt="休闲运动鞋" class="product-img">
                    <h3>休闲运动鞋</h3>
                    <p class="product-desc">透气轻便，适合日常散步和运动</p>
                    <p class="product-price">¥299</p>
                </div>
                
                <div class="product">
                    <img src="https://picsum.photos/id/96/400/300" alt="纯棉T恤" class="product-img">
                    <h3>纯棉T恤</h3>
                    <p class="product-desc">100%棉材质，舒适透气，多色可选</p>
                    <p class="product-price">¥89</p>
                </div>
                
                <div class="product">
                    <img src="https://picsum.photos/id/20/400/300" alt="无线耳机" class="product-img">
                    <h3>无线蓝牙耳机</h3>
                    <p class="product-desc">高清音质，续航24小时，防水设计</p>
                    <p class="product-price">¥399</p>
                </div>
                
                <div class="product">
                    <img src="https://picsum.photos/id/119/400/300" alt="机械键盘" class="product-img">
                    <h3>机械键盘</h3>
                    <p class="product-desc">青轴手感，RGB背光，全尺寸布局</p>
                    <p class="product-price">¥249</p>
                </div>
            </div>
        </div>
    </div>

    <div class="footer">
        <p>简易电商平台 &copy; 2023</p>
    </div>
</body>
</html>